package configcenter.zookeeper.curator;

import common.model.MagicUrl;
import java.util.List;

public interface RegistryService {

    void register(MagicUrl url);

    void unregister(MagicUrl url);

    void subscribe(MagicUrl url, NotifyListener listener);

    void unsubscribe(MagicUrl url, NotifyListener listener);

    List<MagicUrl> lookup(MagicUrl url);

}
